package com.system.api.rbac.entity.po;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.yang.database.orm.entity.BaseModel;

/**
 *  
 * @author: lslands
 * @description:   
 * @version：v1.0
 * @date:    2024/6/25 14:46
 */
@Data
@Builder
@NoArgsConstructor
public class SysRolePermissionRelation extends BaseModel {

    /**
     * 角色ID
     * @required
     */
    private Long roleId;

    /**
     * 权限ID
     * @required
     */
    private Long permissionId;



    public SysRolePermissionRelation(Long roleId, Long permissionId) {
        this.roleId = roleId;
        this.permissionId = permissionId;
    }
}
